<template>
  <div class="page-6-container">
    <div class="top-left--wrap">
      <img class="en-name-pic" :src="enNamePic" />
      <img class="name-pic" :src="namePic" />
      <img class="line-pic" :src="linePic" />
    </div>
    <div class="top-right--wrap">
      <img class="square-bg" :src="squareBg" />
    </div>
    <div class="center--wrap">
      <img class="map" :src="mapPic" />
      <div class="content--wrap">
        <div>咨询电话：185-1824-8090</div>
        <div class="address">校区地址：北京市-海淀区-北三环中路44号院-6号楼</div>
      </div>
      <div class="qrcode--wrap">
        <img class="qrcode" :src="qrcodePic" />
        <div class="qrcode-txt">扫码咨询在线客服</div>
      </div>
      <img class="square-bg" :src="squareBg" />
    </div>
  </div>
</template>

<script setup>
  import squareBg from '../assets/image/square_bg.png'
  import namePic from '../assets/image/page_6/name.png'
  import linePic from '../assets/image/page_6/line.png'
  import enNamePic from '../assets/image/page_6/en_name.png'
  import mapPic from '../assets/image/page_6/map.png'
  import qrcodePic from '../assets/image/page_6/qrcode.png'
</script>

<style lang="less">
@import "../assets/css/animation.less";
.page-6-container {
  position: relative;
  width: 100%;
  height: 100%;

  .square-bg {
    width: 140vw;
    height: 140vw;
  }

  .top-right--wrap {
    position: absolute;
    top: -42vw;
    right: -94vw;
    transform: rotate(3deg);
    z-index: 99;
    animation: anRight_94 1s ease
  }

  .top-left--wrap {
    position: absolute;
    width: 63vw;
    height: 16vw;
    top: 9vw;
    left: 6vw;
    animation: titleEnter 1s ease;
    .name-pic {
      display: block;
      width: 29vw;
      height: 6vw;
      margin-bottom: 3vw;
    }
    .en-name-pic {
      display: block;
      width: 21vw;
      height: 3vw;
      margin-bottom: 3vw;
    }
    .line-pic {
      display: block;
      width: 100%;
      height: 1vw;
    }
  }
  .center--wrap {
    position: absolute;
    width: 100vw;
    height: 83vh;
    bottom: 0vw;
    display: flex;
    justify-content: center;
    .square-bg {
      position: absolute;
      width: 160vw;
      height: 170vw;
      transform: rotate(-5deg);
      top: 2vw;
      animation: anTop_2 1s ease;
    }
    .map {
      position: absolute;
      width: 71vw;
      height: 69vw;
      z-index: 9;
      top: 10vw;
      animation: anZoom 1s ease;
    }
    .content--wrap {
      position: absolute;
      width: 73vw;
      z-index: 99;
      top: 85vw;
      color: #fff;
      font-size: 16px;
      line-height: 23px;
      animation: anZoom 1s ease;
      .address {
        margin: 4vw 0;
        text-align: center;
      }
    }

    .qrcode--wrap {
      position: absolute;
      width: 29vw;
      height: 22vw;
      top: 110vw;
      z-index: 99;
      text-align: center;
      animation: anTop_110 1.5s ease;
      .qrcode {
        width: 22vw;
        height: 22vw;
      }
      .qrcode-txt {
        font-size: 11px;
        background: #fff;
        color: #ff7d05;
        padding: 3px 0;
        border-radius: 17px;
        margin-top: 10px;
      }
    }
  }
}
</style>
